<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
        <head><title>class HttpConnection in com.google.gdata.client</title>
        <meta http-equiv="content-type" content="text/html; charset=UTF8"></meta><meta content="scaladoc (version 2.7.1.r14655-b20080415113712)" name="generator"></meta><link href="../../../../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../../../../script.js"></script>
        </head>
        <body onload="init()">
        <table summary="" class="navigation">
        <tr>
          <td class="navigation-links" valign="top">
            <!-- <table><tr></tr></table> -->
          </td>
          <td align="right" valign="top" style="white-space:nowrap;" rowspan="2">
            <div class="doctitle-larger">GData Scala Client Library Documentation</div>
          </td>
        </tr>
        <tr><td></td></tr>
      </table>
        
      <div class="entity">
        <a href="../../../../com/google/gdata/client$package.html" target="_self">com.google.gdata.client</a>
        <br></br>
        <span class="entity">class  HttpConnection</span>
      </div><hr></hr>
      <div class="source">
        [source: <a href="" class="com/google/gdata/client/HttpConnection"><code>com/google/gdata/client/HttpConnection.scala</code></a>]
      </div><hr></hr>
      <a name="HttpConnection"></a><dl>
      <dt>
        
        <code></code>
        <code>class</code>
        <em>HttpConnection</em>(<code>val </code><em>underlying</em> : <a href="" target="contentFrame" class="java/net/HttpURLConnection">java.net.HttpURLConnection</a>)
      </dt>
      <dd><code> extends </code><a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a></dd>
    </dl>
      <dl><dd>Scala wrapper over HttpURLConnection. Turns getter/setters into properties and implements
 a request headers as properties. Like the underlying Java connection, it
 supports only one request/response. The 'connect' method returns an <code>HttpResponse</code>
 that gives access to the response headers and streams.
 
 You can set headers using the following syntax:
 <code>
   connection("Content-Type") = "text/xml"
 </code>
 
 A similar syntax can be used on the HttpResponse object to retrieve response headers:
 <code>
   val response = connection.connect
   log("redirected to: " + response("Location"))
 </code></dd></dl>
      <dl><dt style="margin:10px 0 0 20px;">
        <b>Author</b></dt><dd>Iulian Dragos</dd></dl>
    
      


<table summary="" cellpadding="3" class="member">
      <tr><td class="title" colspan="2">Method Summary</td></tr>
      <tr>
      <td class="modifiers" valign="top"> 
        <code> def</code>
      </td>
      <td class="signature">
        <em><a href="../../../../com/google/gdata/client/HttpConnection.html#apply%28Int%29" target="_self">apply</a></em>
        (<em>n</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="" target="contentFrame" class="scala/Option">scala.Option</a>[<a href="" target="contentFrame" class="java/lang/String">java.lang.String</a>]
        
        <div>Get the n'th header field.</div>
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code> def</code>
      </td>
      <td class="signature">
        <em><a href="../../../../com/google/gdata/client/HttpConnection.html#connect" target="_self">connect</a></em>
         : <a href="../../../../com/google/gdata/client/HttpConnection.HttpResponse.html" target="_self">HttpResponse</a>
        
        <div>Connect and return an response object.</div>
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code> def</code>
      </td>
      <td class="signature">
        <em><a href="../../../../com/google/gdata/client/HttpConnection.html#connectTimeout" target="_self">connectTimeout</a></em>
         : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>
        
        <div>Get the connection timeout.</div>
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code> def</code>
      </td>
      <td class="signature">
        <em><a href="../../../../com/google/gdata/client/HttpConnection.html#connectTimeout_%3D%28Int%29" target="_self">connectTimeout_=</a></em>
        (<em>n</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a>
        
        <div>Set the connection timeout.</div>
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code> def</code>
      </td>
      <td class="signature">
        <em><a href="../../../../com/google/gdata/client/HttpConnection.html#doInput" target="_self">doInput</a></em>
         : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a>
        
        <div>Controls whether this connection is used for input.</div>
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code> def</code>
      </td>
      <td class="signature">
        <em><a href="../../../../com/google/gdata/client/HttpConnection.html#doInput_%3D%28Boolean%29" target="_self">doInput_=</a></em>
        (<em>b</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a>
        
        <div>Controls whether this connection is used for input.</div>
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code> def</code>
      </td>
      <td class="signature">
        <em><a href="../../../../com/google/gdata/client/HttpConnection.html#doOutput" target="_self">doOutput</a></em>
         : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a>
        
        <div>Controls whether this connection is used for output.</div>
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code> def</code>
      </td>
      <td class="signature">
        <em><a href="../../../../com/google/gdata/client/HttpConnection.html#doOutput_%3D%28Boolean%29" target="_self">doOutput_=</a></em>
        (<em>b</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a>
        
        <div>Controls whether this connection is used for output.</div>
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code> def</code>
      </td>
      <td class="signature">
        <em><a href="../../../../com/google/gdata/client/HttpConnection.html#errorStream" target="_self">errorStream</a></em>
         : <a href="" target="contentFrame" class="java/io/InputStream">java.io.InputStream</a>
        
        <div>Get the error stream of this connection.</div>
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code> def</code>
      </td>
      <td class="signature">
        <em><a href="../../../../com/google/gdata/client/HttpConnection.html#headerFieldDate%28String%2CLong%29" target="_self">headerFieldDate</a></em>
        (<em>name</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a>, <em>default</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Long.html" target="_self">Long</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Long.html" target="_self">Long</a>
        
        <div>Get the given header field, parsed as date.</div>
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code> def</code>
      </td>
      <td class="signature">
        <em><a href="../../../../com/google/gdata/client/HttpConnection.html#headerFieldKey%28Int%29" target="_self">headerFieldKey</a></em>
        (<em>n</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a>
        
        <div>Get the key of the n'th field</div>
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code> def</code>
      </td>
      <td class="signature">
        <em><a href="../../../../com/google/gdata/client/HttpConnection.html#instanceFollowRedirects" target="_self">instanceFollowRedirects</a></em>
         : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a>
        
        <div>Is this instance following redirects?</div>
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code> def</code>
      </td>
      <td class="signature">
        <em><a href="../../../../com/google/gdata/client/HttpConnection.html#instanceFollowRedirects_%3D%28Boolean%29" target="_self">instanceFollowRedirects_=</a></em>
        (<em>b</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a>
        
        <div>Sets whether this instance should follow redirects.</div>
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code> def</code>
      </td>
      <td class="signature">
        <em><a href="../../../../com/google/gdata/client/HttpConnection.html#outputStream" target="_self">outputStream</a></em>
         : <a href="" target="contentFrame" class="java/io/OutputStream">java.io.OutputStream</a>
        
        <div>Get an output stream that writes to this connection.</div>
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code> def</code>
      </td>
      <td class="signature">
        <em><a href="../../../../com/google/gdata/client/HttpConnection.html#permission" target="_self">permission</a></em>
         : <a href="" target="contentFrame" class="java/security/Permission">java.security.Permission</a>
        
        <div>The permission object representing the permission necessary to make the connection.</div>
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code> def</code>
      </td>
      <td class="signature">
        <em><a href="../../../../com/google/gdata/client/HttpConnection.html#requestMethod" target="_self">requestMethod</a></em>
         : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a>
        
        <div>Get the request method</div>
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code> def</code>
      </td>
      <td class="signature">
        <em><a href="../../../../com/google/gdata/client/HttpConnection.html#requestMethod_%3D%28String%29" target="_self">requestMethod_=</a></em>
        (<em>m</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a>
        
        <div>Set the request method.</div>
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code>override def</code>
      </td>
      <td class="signature">
        <em><a href="../../../../com/google/gdata/client/HttpConnection.html#toString%28%29" target="_self">toString</a></em>
         : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a>
        
        
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code> def</code>
      </td>
      <td class="signature">
        <em><a href="../../../../com/google/gdata/client/HttpConnection.html#update%28String%2CString%29" target="_self">update</a></em>
        (<em>name</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a>, <em>value</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a>
        
        
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code> def</code>
      </td>
      <td class="signature">
        <em><a href="../../../../com/google/gdata/client/HttpConnection.html#url" target="_self">url</a></em>
         : <a href="" target="contentFrame" class="java/net/URL">java.net.URL</a>
        
        <div>The URL of this connection.</div>
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code> def</code>
      </td>
      <td class="signature">
        <em><a href="../../../../com/google/gdata/client/HttpConnection.html#useCaches" target="_self">useCaches</a></em>
         : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a>
        
        <div>Controls whether caches can be used for this connection.</div>
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code> def</code>
      </td>
      <td class="signature">
        <em><a href="../../../../com/google/gdata/client/HttpConnection.html#useCaches_%3D%28Boolean%29" target="_self">useCaches_=</a></em>
        (<em>b</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a>
        
        <div>Controls whether caches can be used for this connection.</div>
      </td>
    </tr>
      </table><table summary="" cellpadding="3" class="inherited">
        <tr><td class="title" colspan="2">
          Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html" target="_self">AnyRef</a>
        </td></tr>
        <tr><td class="signature" colspan="2">
          <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#getClass%28%29" target="_self">getClass</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#equals%28Any%29" target="_self">equals</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#clone%28%29" target="_self">clone</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notify%28%29" target="_self">notify</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#wait%28%29" target="_self">wait</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#finalize%28%29" target="_self">finalize</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a>
        </td></tr>
      </table><table summary="" cellpadding="3" class="inherited">
        <tr><td class="title" colspan="2">
          Methods inherited from <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html" target="_self">Any</a>
        </td></tr>
        <tr><td class="signature" colspan="2">
          <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="http://www.scala-lang.org/docu/files/api/scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a>
        </td></tr>
      </table>
<table summary="" cellpadding="3" class="member">
      <tr><td class="title" colspan="2">Class Summary</td></tr>
      <tr>
      <td class="modifiers" valign="top"> 
        <code> class</code>
      </td>
      <td class="signature">
        <em><a href="../../../../com/google/gdata/client/HttpConnection.HttpResponse.html" target="_self">HttpResponse</a></em>
        <code> extends </code>(<a href="" target="contentFrame" class="java/lang/String">java.lang.String</a>) =&gt; <a href="" target="contentFrame" class="scala/Option">scala.Option</a>[<a href="" target="contentFrame" class="java/lang/String">java.lang.String</a>]
        
        <div>An http response is a map of header names to values. An instance of this class
   is returned from the 'connect' method.</div>
      </td>
    </tr>
      </table>

      


<table summary="" cellpadding="3" class="member-detail">
          <tr><td class="title">Method Details</td></tr>
        </table><div><a name="errorStream"></a><dl>
      <dt>
        
        <code></code>
        <code>def</code>
        <em>errorStream</em> : <a href="" target="contentFrame" class="java/io/InputStream">java.io.InputStream</a>
      </dt>
      <dd></dd>
    </dl>
      <dl><dd>Get the error stream of this connection.</dd></dl>
      <dl></dl>
    <hr></hr>
<a name="outputStream"></a><dl>
      <dt>
        
        <code></code>
        <code>def</code>
        <em>outputStream</em> : <a href="" target="contentFrame" class="java/io/OutputStream">java.io.OutputStream</a>
      </dt>
      <dd></dd>
    </dl>
      <dl><dd>Get an output stream that writes to this connection.</dd></dl>
      <dl></dl>
    <hr></hr>
<a name="apply%28Int%29"></a><dl>
      <dt>
        
        <code></code>
        <code>def</code>
        <em>apply</em>(<em>n</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="" target="contentFrame" class="scala/Option">scala.Option</a>[<a href="" target="contentFrame" class="java/lang/String">java.lang.String</a>]
      </dt>
      <dd></dd>
    </dl>
      <dl><dd>Get the n'th header field.</dd></dl>
      <dl></dl>
    <hr></hr>
<a name="headerFieldDate%28String%2CLong%29"></a><dl>
      <dt>
        
        <code></code>
        <code>def</code>
        <em>headerFieldDate</em>(<em>name</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a>, <em>default</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Long.html" target="_self">Long</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Long.html" target="_self">Long</a>
      </dt>
      <dd></dd>
    </dl>
      <dl><dd>Get the given header field, parsed as date.</dd></dl>
      <dl></dl>
    <hr></hr>
<a name="headerFieldKey%28Int%29"></a><dl>
      <dt>
        
        <code></code>
        <code>def</code>
        <em>headerFieldKey</em>(<em>n</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a>
      </dt>
      <dd></dd>
    </dl>
      <dl><dd>Get the key of the n'th field</dd></dl>
      <dl></dl>
    <hr></hr>
<a name="instanceFollowRedirects"></a><dl>
      <dt>
        
        <code></code>
        <code>def</code>
        <em>instanceFollowRedirects</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a>
      </dt>
      <dd></dd>
    </dl>
      <dl><dd>Is this instance following redirects?</dd></dl>
      <dl></dl>
    <hr></hr>
<a name="instanceFollowRedirects_%3D%28Boolean%29"></a><dl>
      <dt>
        
        <code></code>
        <code>def</code>
        <em>instanceFollowRedirects_=</em>(<em>b</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a>
      </dt>
      <dd></dd>
    </dl>
      <dl><dd>Sets whether this instance should follow redirects.</dd></dl>
      <dl></dl>
    <hr></hr>
<a name="permission"></a><dl>
      <dt>
        
        <code></code>
        <code>def</code>
        <em>permission</em> : <a href="" target="contentFrame" class="java/security/Permission">java.security.Permission</a>
      </dt>
      <dd></dd>
    </dl>
      <dl><dd>The permission object representing the permission necessary to make the connection.</dd></dl>
      <dl></dl>
    <hr></hr>
<a name="requestMethod"></a><dl>
      <dt>
        
        <code></code>
        <code>def</code>
        <em>requestMethod</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a>
      </dt>
      <dd></dd>
    </dl>
      <dl><dd>Get the request method</dd></dl>
      <dl></dl>
    <hr></hr>
<a name="requestMethod_%3D%28String%29"></a><dl>
      <dt>
        
        <code></code>
        <code>def</code>
        <em>requestMethod_=</em>(<em>m</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a>
      </dt>
      <dd></dd>
    </dl>
      <dl><dd>Set the request method.</dd></dl>
      <dl></dl>
    <hr></hr>
<a name="connectTimeout"></a><dl>
      <dt>
        
        <code></code>
        <code>def</code>
        <em>connectTimeout</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>
      </dt>
      <dd></dd>
    </dl>
      <dl><dd>Get the connection timeout.</dd></dl>
      <dl></dl>
    <hr></hr>
<a name="connectTimeout_%3D%28Int%29"></a><dl>
      <dt>
        
        <code></code>
        <code>def</code>
        <em>connectTimeout_=</em>(<em>n</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Int.html" target="_self">Int</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a>
      </dt>
      <dd></dd>
    </dl>
      <dl><dd>Set the connection timeout.</dd></dl>
      <dl></dl>
    <hr></hr>
<a name="doInput"></a><dl>
      <dt>
        
        <code></code>
        <code>def</code>
        <em>doInput</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a>
      </dt>
      <dd></dd>
    </dl>
      <dl><dd>Controls whether this connection is used for input.</dd></dl>
      <dl></dl>
    <hr></hr>
<a name="doInput_%3D%28Boolean%29"></a><dl>
      <dt>
        
        <code></code>
        <code>def</code>
        <em>doInput_=</em>(<em>b</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a>
      </dt>
      <dd></dd>
    </dl>
      <dl><dd>Controls whether this connection is used for input.</dd></dl>
      <dl></dl>
    <hr></hr>
<a name="doOutput"></a><dl>
      <dt>
        
        <code></code>
        <code>def</code>
        <em>doOutput</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a>
      </dt>
      <dd></dd>
    </dl>
      <dl><dd>Controls whether this connection is used for output.</dd></dl>
      <dl></dl>
    <hr></hr>
<a name="doOutput_%3D%28Boolean%29"></a><dl>
      <dt>
        
        <code></code>
        <code>def</code>
        <em>doOutput_=</em>(<em>b</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a>
      </dt>
      <dd></dd>
    </dl>
      <dl><dd>Controls whether this connection is used for output.</dd></dl>
      <dl></dl>
    <hr></hr>
<a name="useCaches"></a><dl>
      <dt>
        
        <code></code>
        <code>def</code>
        <em>useCaches</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a>
      </dt>
      <dd></dd>
    </dl>
      <dl><dd>Controls whether caches can be used for this connection.</dd></dl>
      <dl></dl>
    <hr></hr>
<a name="useCaches_%3D%28Boolean%29"></a><dl>
      <dt>
        
        <code></code>
        <code>def</code>
        <em>useCaches_=</em>(<em>b</em> : <a href="http://www.scala-lang.org/docu/files/api/scala/Boolean.html" target="_self">Boolean</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a>
      </dt>
      <dd></dd>
    </dl>
      <dl><dd>Controls whether caches can be used for this connection.</dd></dl>
      <dl></dl>
    <hr></hr>
<a name="url"></a><dl>
      <dt>
        
        <code></code>
        <code>def</code>
        <em>url</em> : <a href="" target="contentFrame" class="java/net/URL">java.net.URL</a>
      </dt>
      <dd></dd>
    </dl>
      <dl><dd>The URL of this connection.</dd></dl>
      <dl></dl>
    <hr></hr>
<a name="toString%28%29"></a><dl>
      <dt>
        
        <code>override</code>
        <code>def</code>
        <em>toString</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a>
      </dt>
      <dd></dd>
    </dl><hr></hr>
<a name="update%28String%2CString%29"></a><dl>
      <dt>
        
        <code></code>
        <code>def</code>
        <em>update</em>(<em>name</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a>, <em>value</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a>) : <a href="http://www.scala-lang.org/docu/files/api/scala/Unit.html" target="_self">Unit</a>
      </dt>
      <dd></dd>
    </dl><hr></hr>
<a name="connect"></a><dl>
      <dt>
        
        <code></code>
        <code>def</code>
        <em>connect</em> : <a href="../../../../com/google/gdata/client/HttpConnection.HttpResponse.html" target="_self">HttpResponse</a>
      </dt>
      <dd></dd>
    </dl>
      <dl><dd>Connect and return an response object.</dd></dl>
      <dl></dl>
    <hr></hr></div>


    <hr></hr>
        <table summary="" class="navigation">
        <tr>
          <td class="navigation-links" valign="top">
            <!-- <table><tr></tr></table> -->
          </td>
          <td align="right" valign="top" style="white-space:nowrap;" rowspan="2">
            <div class="doctitle-larger">GData Scala Client Library Documentation</div>
          </td>
        </tr>
        <tr><td></td></tr>
      </table>
      </body>
      </html>